/*
 * jiyan
 */
package com.jiyan.repair.service;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

import com.rzhkj.core.base.BaseMybatisDAO;
import com.rzhkj.core.base.BaseMybatisSVImpl;

import com.jiyan.repair.facade.RepairFeedbackSV;
import com.jiyan.repair.dao.RepairFeedbackDAO;
import com.jiyan.repair.entity.RepairFeedback;


/**
 * 维修反馈
 * @author jiyan
 */
@Component
@Service
public class RepairFeedbackSVImpl extends BaseMybatisSVImpl<RepairFeedback,Long> implements RepairFeedbackSV{


	@Resource
	private RepairFeedbackDAO repairFeedbackDAO;

    @Override
    protected BaseMybatisDAO getBaseMybatisDAO(){
		return repairFeedbackDAO;
	}


	/**
	 * 加载对象维修反馈 通过code
	 * @param code 维修反馈编码
	 * @return RepairFeedback
	 */
     @Override
     public RepairFeedback loadByCode(java.lang.String code) {
		return repairFeedbackDAO.loadByCode(code);
	 }

     /**
      * 删除对象维修反馈
	   * @param id id* @param code 维修反馈编码
      */
	 @Override
     public void delete(java.lang.Long id,java.lang.String code) {
		repairFeedbackDAO.delete(id,code);
	 }



}